package com.hwl.demo12.service.impl;

import com.hwl.demo12.entity.Work;
import com.hwl.demo12.service.State;

/**
 * 睡眠状态
 *
 * @author sentry
 * @since 2023-03-20
 */
public class SleepingState extends State {
    @Override
    public void writeProgram(Work w) {
        System.out.println("当前时间：" + w.getHour() + "点 不行了，睡着了");
    }
}
